package com.ynet.hmds28.merchant.model;

import java.util.ArrayList;
import java.util.List;

public class AirindexQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public AirindexQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCitynumIsNull() {
            addCriterion("cityNum is null");
            return (Criteria) this;
        }

        public Criteria andCitynumIsNotNull() {
            addCriterion("cityNum is not null");
            return (Criteria) this;
        }

        public Criteria andCitynumEqualTo(String value) {
            addCriterion("cityNum =", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumNotEqualTo(String value) {
            addCriterion("cityNum <>", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumGreaterThan(String value) {
            addCriterion("cityNum >", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumGreaterThanOrEqualTo(String value) {
            addCriterion("cityNum >=", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumLessThan(String value) {
            addCriterion("cityNum <", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumLessThanOrEqualTo(String value) {
            addCriterion("cityNum <=", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumLike(String value) {
            addCriterion("cityNum like", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumNotLike(String value) {
            addCriterion("cityNum not like", value, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumIn(List<String> values) {
            addCriterion("cityNum in", values, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumNotIn(List<String> values) {
            addCriterion("cityNum not in", values, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumBetween(String value1, String value2) {
            addCriterion("cityNum between", value1, value2, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynumNotBetween(String value1, String value2) {
            addCriterion("cityNum not between", value1, value2, "citynum");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNull() {
            addCriterion("cityName is null");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNotNull() {
            addCriterion("cityName is not null");
            return (Criteria) this;
        }

        public Criteria andCitynameEqualTo(String value) {
            addCriterion("cityName =", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotEqualTo(String value) {
            addCriterion("cityName <>", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThan(String value) {
            addCriterion("cityName >", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThanOrEqualTo(String value) {
            addCriterion("cityName >=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThan(String value) {
            addCriterion("cityName <", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThanOrEqualTo(String value) {
            addCriterion("cityName <=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLike(String value) {
            addCriterion("cityName like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotLike(String value) {
            addCriterion("cityName not like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameIn(List<String> values) {
            addCriterion("cityName in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotIn(List<String> values) {
            addCriterion("cityName not in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameBetween(String value1, String value2) {
            addCriterion("cityName between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotBetween(String value1, String value2) {
            addCriterion("cityName not between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andPmIsNull() {
            addCriterion("pm is null");
            return (Criteria) this;
        }

        public Criteria andPmIsNotNull() {
            addCriterion("pm is not null");
            return (Criteria) this;
        }

        public Criteria andPmEqualTo(String value) {
            addCriterion("pm =", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmNotEqualTo(String value) {
            addCriterion("pm <>", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmGreaterThan(String value) {
            addCriterion("pm >", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmGreaterThanOrEqualTo(String value) {
            addCriterion("pm >=", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmLessThan(String value) {
            addCriterion("pm <", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmLessThanOrEqualTo(String value) {
            addCriterion("pm <=", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmLike(String value) {
            addCriterion("pm like", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmNotLike(String value) {
            addCriterion("pm not like", value, "pm");
            return (Criteria) this;
        }

        public Criteria andPmIn(List<String> values) {
            addCriterion("pm in", values, "pm");
            return (Criteria) this;
        }

        public Criteria andPmNotIn(List<String> values) {
            addCriterion("pm not in", values, "pm");
            return (Criteria) this;
        }

        public Criteria andPmBetween(String value1, String value2) {
            addCriterion("pm between", value1, value2, "pm");
            return (Criteria) this;
        }

        public Criteria andPmNotBetween(String value1, String value2) {
            addCriterion("pm not between", value1, value2, "pm");
            return (Criteria) this;
        }

        public Criteria andParticulateIsNull() {
            addCriterion("particulate is null");
            return (Criteria) this;
        }

        public Criteria andParticulateIsNotNull() {
            addCriterion("particulate is not null");
            return (Criteria) this;
        }

        public Criteria andParticulateEqualTo(String value) {
            addCriterion("particulate =", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateNotEqualTo(String value) {
            addCriterion("particulate <>", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateGreaterThan(String value) {
            addCriterion("particulate >", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateGreaterThanOrEqualTo(String value) {
            addCriterion("particulate >=", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateLessThan(String value) {
            addCriterion("particulate <", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateLessThanOrEqualTo(String value) {
            addCriterion("particulate <=", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateLike(String value) {
            addCriterion("particulate like", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateNotLike(String value) {
            addCriterion("particulate not like", value, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateIn(List<String> values) {
            addCriterion("particulate in", values, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateNotIn(List<String> values) {
            addCriterion("particulate not in", values, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateBetween(String value1, String value2) {
            addCriterion("particulate between", value1, value2, "particulate");
            return (Criteria) this;
        }

        public Criteria andParticulateNotBetween(String value1, String value2) {
            addCriterion("particulate not between", value1, value2, "particulate");
            return (Criteria) this;
        }

        public Criteria andOzoneIsNull() {
            addCriterion("oZone is null");
            return (Criteria) this;
        }

        public Criteria andOzoneIsNotNull() {
            addCriterion("oZone is not null");
            return (Criteria) this;
        }

        public Criteria andOzoneEqualTo(String value) {
            addCriterion("oZone =", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneNotEqualTo(String value) {
            addCriterion("oZone <>", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneGreaterThan(String value) {
            addCriterion("oZone >", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneGreaterThanOrEqualTo(String value) {
            addCriterion("oZone >=", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneLessThan(String value) {
            addCriterion("oZone <", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneLessThanOrEqualTo(String value) {
            addCriterion("oZone <=", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneLike(String value) {
            addCriterion("oZone like", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneNotLike(String value) {
            addCriterion("oZone not like", value, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneIn(List<String> values) {
            addCriterion("oZone in", values, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneNotIn(List<String> values) {
            addCriterion("oZone not in", values, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneBetween(String value1, String value2) {
            addCriterion("oZone between", value1, value2, "ozone");
            return (Criteria) this;
        }

        public Criteria andOzoneNotBetween(String value1, String value2) {
            addCriterion("oZone not between", value1, value2, "ozone");
            return (Criteria) this;
        }

        public Criteria andNdioIsNull() {
            addCriterion("nDio is null");
            return (Criteria) this;
        }

        public Criteria andNdioIsNotNull() {
            addCriterion("nDio is not null");
            return (Criteria) this;
        }

        public Criteria andNdioEqualTo(String value) {
            addCriterion("nDio =", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioNotEqualTo(String value) {
            addCriterion("nDio <>", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioGreaterThan(String value) {
            addCriterion("nDio >", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioGreaterThanOrEqualTo(String value) {
            addCriterion("nDio >=", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioLessThan(String value) {
            addCriterion("nDio <", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioLessThanOrEqualTo(String value) {
            addCriterion("nDio <=", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioLike(String value) {
            addCriterion("nDio like", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioNotLike(String value) {
            addCriterion("nDio not like", value, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioIn(List<String> values) {
            addCriterion("nDio in", values, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioNotIn(List<String> values) {
            addCriterion("nDio not in", values, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioBetween(String value1, String value2) {
            addCriterion("nDio between", value1, value2, "ndio");
            return (Criteria) this;
        }

        public Criteria andNdioNotBetween(String value1, String value2) {
            addCriterion("nDio not between", value1, value2, "ndio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioIsNull() {
            addCriterion("sulfurDio is null");
            return (Criteria) this;
        }

        public Criteria andSulfurdioIsNotNull() {
            addCriterion("sulfurDio is not null");
            return (Criteria) this;
        }

        public Criteria andSulfurdioEqualTo(String value) {
            addCriterion("sulfurDio =", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioNotEqualTo(String value) {
            addCriterion("sulfurDio <>", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioGreaterThan(String value) {
            addCriterion("sulfurDio >", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioGreaterThanOrEqualTo(String value) {
            addCriterion("sulfurDio >=", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioLessThan(String value) {
            addCriterion("sulfurDio <", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioLessThanOrEqualTo(String value) {
            addCriterion("sulfurDio <=", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioLike(String value) {
            addCriterion("sulfurDio like", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioNotLike(String value) {
            addCriterion("sulfurDio not like", value, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioIn(List<String> values) {
            addCriterion("sulfurDio in", values, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioNotIn(List<String> values) {
            addCriterion("sulfurDio not in", values, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioBetween(String value1, String value2) {
            addCriterion("sulfurDio between", value1, value2, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andSulfurdioNotBetween(String value1, String value2) {
            addCriterion("sulfurDio not between", value1, value2, "sulfurdio");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoIsNull() {
            addCriterion("carbonMono is null");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoIsNotNull() {
            addCriterion("carbonMono is not null");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoEqualTo(String value) {
            addCriterion("carbonMono =", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoNotEqualTo(String value) {
            addCriterion("carbonMono <>", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoGreaterThan(String value) {
            addCriterion("carbonMono >", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoGreaterThanOrEqualTo(String value) {
            addCriterion("carbonMono >=", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoLessThan(String value) {
            addCriterion("carbonMono <", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoLessThanOrEqualTo(String value) {
            addCriterion("carbonMono <=", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoLike(String value) {
            addCriterion("carbonMono like", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoNotLike(String value) {
            addCriterion("carbonMono not like", value, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoIn(List<String> values) {
            addCriterion("carbonMono in", values, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoNotIn(List<String> values) {
            addCriterion("carbonMono not in", values, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoBetween(String value1, String value2) {
            addCriterion("carbonMono between", value1, value2, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andCarbonmonoNotBetween(String value1, String value2) {
            addCriterion("carbonMono not between", value1, value2, "carbonmono");
            return (Criteria) this;
        }

        public Criteria andAirpressureIsNull() {
            addCriterion("airPressure is null");
            return (Criteria) this;
        }

        public Criteria andAirpressureIsNotNull() {
            addCriterion("airPressure is not null");
            return (Criteria) this;
        }

        public Criteria andAirpressureEqualTo(String value) {
            addCriterion("airPressure =", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureNotEqualTo(String value) {
            addCriterion("airPressure <>", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureGreaterThan(String value) {
            addCriterion("airPressure >", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureGreaterThanOrEqualTo(String value) {
            addCriterion("airPressure >=", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureLessThan(String value) {
            addCriterion("airPressure <", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureLessThanOrEqualTo(String value) {
            addCriterion("airPressure <=", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureLike(String value) {
            addCriterion("airPressure like", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureNotLike(String value) {
            addCriterion("airPressure not like", value, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureIn(List<String> values) {
            addCriterion("airPressure in", values, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureNotIn(List<String> values) {
            addCriterion("airPressure not in", values, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureBetween(String value1, String value2) {
            addCriterion("airPressure between", value1, value2, "airpressure");
            return (Criteria) this;
        }

        public Criteria andAirpressureNotBetween(String value1, String value2) {
            addCriterion("airPressure not between", value1, value2, "airpressure");
            return (Criteria) this;
        }

        public Criteria andHumidityIsNull() {
            addCriterion("humidity is null");
            return (Criteria) this;
        }

        public Criteria andHumidityIsNotNull() {
            addCriterion("humidity is not null");
            return (Criteria) this;
        }

        public Criteria andHumidityEqualTo(String value) {
            addCriterion("humidity =", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityNotEqualTo(String value) {
            addCriterion("humidity <>", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityGreaterThan(String value) {
            addCriterion("humidity >", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityGreaterThanOrEqualTo(String value) {
            addCriterion("humidity >=", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityLessThan(String value) {
            addCriterion("humidity <", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityLessThanOrEqualTo(String value) {
            addCriterion("humidity <=", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityLike(String value) {
            addCriterion("humidity like", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityNotLike(String value) {
            addCriterion("humidity not like", value, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityIn(List<String> values) {
            addCriterion("humidity in", values, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityNotIn(List<String> values) {
            addCriterion("humidity not in", values, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityBetween(String value1, String value2) {
            addCriterion("humidity between", value1, value2, "humidity");
            return (Criteria) this;
        }

        public Criteria andHumidityNotBetween(String value1, String value2) {
            addCriterion("humidity not between", value1, value2, "humidity");
            return (Criteria) this;
        }

        public Criteria andWindIsNull() {
            addCriterion("wind is null");
            return (Criteria) this;
        }

        public Criteria andWindIsNotNull() {
            addCriterion("wind is not null");
            return (Criteria) this;
        }

        public Criteria andWindEqualTo(String value) {
            addCriterion("wind =", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindNotEqualTo(String value) {
            addCriterion("wind <>", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindGreaterThan(String value) {
            addCriterion("wind >", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindGreaterThanOrEqualTo(String value) {
            addCriterion("wind >=", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindLessThan(String value) {
            addCriterion("wind <", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindLessThanOrEqualTo(String value) {
            addCriterion("wind <=", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindLike(String value) {
            addCriterion("wind like", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindNotLike(String value) {
            addCriterion("wind not like", value, "wind");
            return (Criteria) this;
        }

        public Criteria andWindIn(List<String> values) {
            addCriterion("wind in", values, "wind");
            return (Criteria) this;
        }

        public Criteria andWindNotIn(List<String> values) {
            addCriterion("wind not in", values, "wind");
            return (Criteria) this;
        }

        public Criteria andWindBetween(String value1, String value2) {
            addCriterion("wind between", value1, value2, "wind");
            return (Criteria) this;
        }

        public Criteria andWindNotBetween(String value1, String value2) {
            addCriterion("wind not between", value1, value2, "wind");
            return (Criteria) this;
        }

        public Criteria andAirqualityIsNull() {
            addCriterion("airQuality is null");
            return (Criteria) this;
        }

        public Criteria andAirqualityIsNotNull() {
            addCriterion("airQuality is not null");
            return (Criteria) this;
        }

        public Criteria andAirqualityEqualTo(String value) {
            addCriterion("airQuality =", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityNotEqualTo(String value) {
            addCriterion("airQuality <>", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityGreaterThan(String value) {
            addCriterion("airQuality >", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityGreaterThanOrEqualTo(String value) {
            addCriterion("airQuality >=", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityLessThan(String value) {
            addCriterion("airQuality <", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityLessThanOrEqualTo(String value) {
            addCriterion("airQuality <=", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityLike(String value) {
            addCriterion("airQuality like", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityNotLike(String value) {
            addCriterion("airQuality not like", value, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityIn(List<String> values) {
            addCriterion("airQuality in", values, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityNotIn(List<String> values) {
            addCriterion("airQuality not in", values, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityBetween(String value1, String value2) {
            addCriterion("airQuality between", value1, value2, "airquality");
            return (Criteria) this;
        }

        public Criteria andAirqualityNotBetween(String value1, String value2) {
            addCriterion("airQuality not between", value1, value2, "airquality");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}